//
//  ListMdel.h
//  Slice
//
//  Created by lanou on 16/6/16.
//  Copyright © 2016年 wangjinchao. All rights reserved.
//

#import "BaseModel.h"

@interface ListMdel : BaseModel<NSCoding>

@property (nonatomic, copy) NSString *id;

@property (nonatomic, copy) NSString *coverimg;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *title;

@property (nonatomic, copy) NSString *content;


- (instancetype)initWithName:(NSString *)name title:(NSString *)title content:(NSString *)content coverimg:(NSString *)coverimg id:(NSString *)id1;

//归档与反归档的方法
+ (NSData *)achiveWithModel:(ListMdel *)model;

//反归档
+ (ListMdel *)notAchicerWithData:(NSData *)data key:(NSString *)key;



@end
